home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / comm / comst12.zip / COMSET12.DOC < prev    next >
Text File  |  1993-12-17  |  23KB  |  661 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.                   ___________________________________________
  8.                                   C O M S E T
  9.                             Modem / Uart Setup Program
  10.                         Version 12.0..release date 12/20/93
  11.                      from Hank Volpe Copyright 1987 - 1993
  12.                              BBS Phone: 410-256-3631
  13.                            Voice Phone: 410-256-5767
  14.                   ___________________________________________
  15.  
  16.                                   Introduction
  17.  
  18.     Comset is a utility that is designed to setup a communications port
  19.     and a AT (Hayes) Compatible smartmodem. Many modems, especially
  20.     internals, do not have a method to reset the modem when it is
  21.     activated, nor does an adequate method exist to setup the serial port
  22.     for use.
  23.  
  24.     Comset will setup your serial port to any speed from 300 to 115200 bps
  25.     and then check to see if your modem is on-line. If it isn't, Comset
  26.     will perform a hardware reset to "wake" it up. Next a software reset
  27.     is performed by sending the command ATZ. If the reply OK is received,
  28.     you are informed that the modem is fine. If OK is not received, Comset
  29.     will attempt 3 times to reset the modem before informing you of an
  30.     error. If you have an external modem and it is off, Comset will abort
  31.     after setting up the serial port to the desired baud rate.
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.        Comset Version 12.0 Documentation  copyright (c) 1993 by Hank Volpe
  74.                                      Page 2
  75.  
  76.     What's new in Version 12.0 ?
  77.     ---------------------------
  78.     
  79.     Version 12 increases the DTE rate to 115,200 bps. The ability
  80.     to toggle a 16550AFN FIFO buffer on or off has been added to the 
  81.     command line. Also, a routine has been added to trap modems that
  82.     send NULLS, which confuses the C language string search routines.
  83.     Finally, the default routines do not use transmitter driven interrupts,
  84.     instead a polled routine is used. Some earlier uarts cannot handle
  85.     transmitter driven routines. The receive routines (of course) are 
  86.     interrupt driven.   
  87.  
  88.     You can always download the latest version of Comset, plus get user
  89.     support on the Modem Doctor BBS (410-256-3631) 24 hrs a day. All
  90.     users, registered or shareware, are always welcome. Additionally,
  91.     you can find Comset on most national BBS systems.
  92.  
  93.     Comset attempts to answer your communication utility needs with a 
  94.     product that is more flexible and more powerful than simple 
  95.     Port testers or Port speed adjusting programs. With a top speed of 115.2k,
  96.     redirectable output to a file, and errorcodes returned to batch files.
  97.     Comset 12 also contains a new uart driver that works with all types of
  98.     PC-Compatible uart chips.
  99.  
  100.              Some of the features of Comset include the following ;
  101.                       Level 1 options...Shareware Version
  102.  
  103.            ** User Selected baud rates from 300 to 115200 bps.
  104.            ** User Selected Comm port assignments [1 to 4].
  105.            ** User Selected IRQ lines (2-7)
  106.            ** Toggle 16550AFN Buffers ON or OFF
  107.            ** Set 16550AFN trigger levels to 14
  108.            ** Modem Status register testing.
  109.               - Comset tests the registers for DTR/RTS and Carrier Detect
  110.            ** Redirectable output..can be sent to a file for logging.
  111.               or used over any serial link.
  112.            ** RTS/CTS DTR/DSR Handshake testing.
  113.            ** Ability to setup the UART alone for dumb modems or
  114.               other serial devices up to 115.2K baud
  115.            ** "s" switch allows you to swap any comm pointers in memory
  116.            ** "p" switch allows you to see your comm address assignments
  117.            ** Log in of Comm ports 3 & 4 to DOS for use by other programs
  118.               such as high level languages or applications.
  119.            ** Ability to set a uart up and raise control lines without
  120.               the need for an active serial device or modem.
  121.  
  122.            Registered users have access to this special feature;
  123.            ** Ability to send custom Hayes command strings to the modem
  124.              using a simple ASCII text file
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.        Comset Version 12.0 Documentation  copyright (c) 1993 by Hank Volpe
  140.                                      Page 3
  141.  
  142.                                 I. USING COMSET
  143.                                 ----------------
  144.                     The usage syntax for Comset is simple.
  145.                              COMSET [speed] [port] U        or 
  146.                              COMSET [speed] [port]          or
  147.                              COMSET [speed] [port,irq]      or
  148.                              COMSET [speed] [port] ON      or
  149.                              COMSET [speed] [port,irq] ON  or
  150.                              COMSET [speed] [port] U ON    or
  151.                                     COMSET h
  152.                                        or
  153.                                     COMSET i
  154.                                        or
  155.                                     COMSET p
  156.                                        or
  157.                             COMSET s  [port] [port]
  158.  
  159.                   [speed] and [port] are user options
  160.                   [speed] and [port,irq] are also user options
  161.                    u tells Comset to set the UART only
  162.                   ON tells Comset to activate 16550AFN buffers
  163.                      if using a 16550AFN Uart chip.
  164.                    h invokes runtime help for the user
  165.                    i shows you revision and program information
  166.                    p peeks at your comm port memory address assignments
  167.                    s swaps the memory address assignments between the
  168.                      first port you entered and the second.
  169.  
  170.     Comset is easy to use. Typing COMSET from the dos prompt will
  171.     automatically attempt to set up serial port Com1 to 2400 bps and
  172.     attempt to wake up its modem. Selecting a different speed involves
  173.     only adding the speed after the word Comset...ie COMSET 1200 sets
  174.     serial port COM1 to 1200 bps instead of the default 2400. Trailing
  175.     zeros are not necessary, so you could also type COMSET 12 to set up
  176.     serial port COM1 to 1200 bps. If you wish to use a different serial
  177.     port, add that after the speed...ie COMSET 24 2 will set serial port
  178.     Com2 to 2400 bps. If you accidentally enter an invalid baud rate, the
  179.     default of 2400 bps will be used. If you accidentally enter an invalid
  180.     range of comm ports, the default of COM1 will be used. Defaults are
  181.     always used if the user does not supply speed and port. Typing  a U
  182.     after any option instructs Comset to setup the  serial port only and
  183.     not to look for a modem.  This is handy for setting up  serial
  184.     printers or other dumb devices to speeds  higher than 9600 baud.
  185.     Mode.com from dos will do the same, but not at 115200 baud, and not
  186.     on all machines!.
  187.  
  188.     Typing Comset 2400 3,5 will set port 3 using IRQ 5 to 2400 bps. It
  189.     is important to use the comma (,) between the port and the IRQ line.
  190.     Valid IRQ assignments are between 2-7. If you don't include one, Comset
  191.     automatically defaults to PC industry standard selections.
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.        Comset Version 12.0 Documentation  copyright (c) 1993 by Hank Volpe
  207.                                      Page 4
  208.  
  209.     Typing Comset p will display all of the comm port addresses logged
  210.     into Dos. This can be handy when you are trying to configure a serial
  211.     card for proper addresses.
  212.  
  213.     Typing Comset s will swap the address assignments in memory of com1
  214.     and com2. If you entered comset s 1 4, then the address assignments
  215.     will be swapped between com1 and com4 instead of com1 and com2. Any
  216.     valid port from 1 to 4 can be used.
  217.  
  218.     Typing COMSET h will bring up a runtime summary of features and other
  219.     helpful information. Ideally, Comset should be run out of your
  220.     autoexec.bat file when you  first turn on your